package com.wtwd.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wtwd.device.model.entity.Frequency;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mjy
 * @since 2024-05-21
 */
public interface AppIFrequencyService extends IService<Frequency> {

    /**
     * 插入或者更新
     *
     * @param frequency
     * @return
     */
    boolean insertOrUpdate(Frequency frequency);


    boolean updateState(Long deviceId, int type, String number, int state);

    Frequency queryFrequencyByImeiAndType(String imei, Integer type);
}
